package com.kbbywyclient.ui.contarct;

import com.kbbywyclient.data.entity.AccountInfo;
import com.kbbywyclient.data.entity.MinePromotion;
import com.kbbywyclient.data.model.MinePromotionModel;
import com.kbbywyclient.ui.contarct.base.IBaseView;

/**
 * Created by Jiangzx on 2017/9/11 16:21.
 */

public class MinePromotionContract {
    public interface View extends IBaseView{
        void showNotBindCardDialog();
        void setPromotionData(MinePromotion promotion);
        void toBindCardActivity();
        void toWithdrawActivity(AccountInfo accountInfo,double miniAmount,double maxAmount);
        void onSepPercentSuccess(String percent,int action);
        void showSetRewardDialog(int action);
    }
    public interface Presenter {
        int ACTION_FIRST_ENTER=-1;//第一次进入我的推广页面
        int ACTION_SET_REWARD_CLICK=0;//去设置
        int ACTION_SHARE_WX=1;
        int ACTION_SHARE_WX_CIRCLE=2;
        int ACTION_SHARE_QQ=3;
        int ACTION_SHARE_SINA=4;
        void getPromotionData(int salesId);
        void getAccountInfo(int salesId);
        void getWithdrawRule();
        void getSepPercent(int salesId,int action);
    }
}
